<template>
    <div class="footer">
        <div id="government" style="width:36px; margin: 0 auto;">
            <!--                    <script id="ebsgovicon"-->
            <!--                            src="https://szcert.ebs.org.cn/govicons.js?id=025b0efd-42ef-4a99-bb92-0fb37b2f737c&width=36&height=50&type=1"-->
            <!--                            type="text/javascript" charset="utf-8"></script>-->
            <div id="afterGovernment" v-if="afterShowGovHide"></div>
            <a href="https://szcert.ebs.org.cn/govicons.js?id=025b0efd-42ef-4a99-bb92-0fb37b2f737c" target="_blank">
                <img src="https://szcert.ebs.org.cn/Images/govIcon.gif" title="深圳市市场监督管理局企业主体身份公示"
                     alt="深圳市市场监督管理局企业主体身份公示" width="36" height="50" border="0"
                     style="border-width:0px;border:hidden; border:none;">
            </a>
        </div>
        <p class="about">
            <router-link to="userAgreement">用户协议</router-link><span> | </span>
            <router-link to="privacy">隐私政策</router-link><span> | </span>
            <router-link to="aboutUs">关于我们</router-link><span> | </span>
            <router-link to="law">法律声明</router-link>
        </p>
        <span style="display: inherit">Copyright 2019 - 2025 好看好玩 All Rights Reserved </span>
        <a href="http://www.beian.miit.gov.cn" target="_blank">粤ICP备19096791号-1</a>
    </div>
</template>

<script>
    export default {
        name: "copyRight",
        data() {
            return {
                afterShowGovHide:true
            }
        },
        mounted: function () {
            let govicon = document.createElement('script');
            govicon.id = 'ebsgovicon';
            govicon.src = 'https://szcert.ebs.org.cn/govicon.js?id=11a74d0a-dc94-4499-b196-10dbf4cae0af&width=36&height=50&type=1';
            govicon.setAttribute('type','text/script');
            document.getElementById('government').insertBefore(govicon,document.getElementById('afterGovernment'));
            this.afterShowGovHide = false;
        },
    }
</script>

<style scoped lang="scss">
    @import url($css_root + 'css/index.css');
    .footer {
        color: #fff;
        a{
            color: #fff;
        }
    }
    .about{
        color: #fff;
    }
</style>